// $Id: TypeFactory.java,v 1.41 2005/08/11 00:07:47 oneovthafew Exp $
package org.mk.type;

import java.util.Map;


/**
 * Used internally to obtain instances of <tt>Type</tt>. Applications should use static methods
 * and constants on <tt>org.hibernate.Hibernate</tt>.
 * 
 * @see org.mk.MySQLType
 * @author Gavin King
 */
public  class TypeFactory {

	public static void put(Map map, String []names, Type obj) {
		for(int i=0; i<names.length; i++) {
			map.put(names[i], obj);
		}
	}

	public static void putController(Map map, String name, Object obj) {
			map.put(name, obj);
	}
}
